package com.woniu.project.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.project.core.domain.Image;
import org.apache.ibatis.annotations.Delete;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author WHF
 * @since 2020-10-13
 */
public interface ImageMapper extends BaseMapper<Image> {

    @Delete("delete from pawn_image where product_entity_id=#{productEntityId}")
    void deleteImages(Integer productEntityId);
}
